using GameSystem;
using IcecreamView;

namespace View
{
    public class ViewPausePanel : IC_AbstractModule
    {

        [BindUIButton("HomeButton")]
        private void OnClick_ToHome()
        {
            GameManager.Instance.GameFsm.ChangeState(GameEnum.Loading , GameEnum.Home);
        }

        [BindUIButton("ContinueButton")]
        private void OnClick_Continue()
        {
            this.ViewConnector.CloseView();
        }

    }
}